import {api} from './api';
import http from '../utils/http'; // 导入http中创建的axios实例
import qs from 'qs'; // post请求序列化
const companyList = {
  // 获取首页列表
  getCompanyList(params) {
    return http.get(api.getCompanyList, {params:params});
  },
  //获取首页列表详情
  getCompanyListDetail(params){
	  return http.get(api.getCompanyListDetail+'/'+params)
  }
};
export default companyList;